﻿
// ReSharper disable InconsistentNaming
using Gp.Scripts.Core;
using Gp.Scripts.GUI;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using NRFramework;

namespace Gp.Scripts.GUI 
{
    public class WidgetMain_NodeSkillBase : GUIWidget
    {		protected RectTransform mResource_RectTransform;		protected RectTransform mPartWeapon_RectTransform;		protected RectTransform mPartAbility_RectTransform;		protected BoxSkillButton mSkillButtonPrefab_BoxSkillButton;		protected SkillExecutionZone mExecute_SkillExecutionZone;
        protected override void OnBindCompsAndEvents() 
        {			mResource_RectTransform = (RectTransform)viewBehaviour.GetComponentByIndexs(0, 0);			mPartWeapon_RectTransform = (RectTransform)viewBehaviour.GetComponentByIndexs(1, 0);			mPartAbility_RectTransform = (RectTransform)viewBehaviour.GetComponentByIndexs(2, 0);			mSkillButtonPrefab_BoxSkillButton = (BoxSkillButton)viewBehaviour.GetComponentByIndexs(3, 0);			mExecute_SkillExecutionZone = (SkillExecutionZone)viewBehaviour.GetComponentByIndexs(4, 0);		}

        protected override void OnUnbindCompsAndEvents() 
        {			mResource_RectTransform = null;			mPartWeapon_RectTransform = null;			mPartAbility_RectTransform = null;			mSkillButtonPrefab_BoxSkillButton = null;			mExecute_SkillExecutionZone = null;		}
    }
}